package com.zk.shop.pojo;

import java.math.BigInteger;
/**
 * Author：hanZeKun
 * name；商品表
 * createTime；2021/12/12
 */
public class Product {
    private Integer pid;
    private String ptitle;
    private BigInteger nowprice;
    private BigInteger oldprice;
    private String mainurl;

    public Product() {

    }

    //删除
    public Product(Integer pid) {
        this.pid = pid;
    }

    //添加
    public Product(String ptitle, BigInteger nowprice, BigInteger oldprice, String mainurl, String url1, String url2, String url3, Integer shopid, String describe, String vurl, String type) {
        this.ptitle = ptitle;
        this.nowprice = nowprice;
        this.oldprice = oldprice;
        this.mainurl = mainurl;
        this.url1 = url1;
        this.url2 = url2;
        this.url3 = url3;
        this.shopid = shopid;
        this.describe = describe;
        this.vurl = vurl;
        this.type = type;
    }

    //修改
    public Product(Integer pid, String ptitle, BigInteger nowprice, BigInteger oldprice, String mainurl, String url1, String url2, String url3, Integer shopid, String describe, String vurl, String type) {
        this.pid = pid;
        this.ptitle = ptitle;
        this.nowprice = nowprice;
        this.oldprice = oldprice;
        this.mainurl = mainurl;
        this.url1 = url1;
        this.url2 = url2;
        this.url3 = url3;
        this.shopid = shopid;
        this.describe = describe;
        this.vurl = vurl;
        this.type = type;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPtitle() {
        return ptitle;
    }

    public void setPtitle(String ptitle) {
        this.ptitle = ptitle;
    }

    public BigInteger getNowprice() {
        return nowprice;
    }

    public void setNowprice(BigInteger nowprice) {
        this.nowprice = nowprice;
    }

    public BigInteger getOldprice() {
        return oldprice;
    }

    public void setOldprice(BigInteger oldprice) {
        this.oldprice = oldprice;
    }

    public String getMainurl() {
        return mainurl;
    }

    public void setMainurl(String mainurl) {
        this.mainurl = mainurl;
    }

    public String getUrl1() {
        return url1;
    }

    public void setUrl1(String url1) {
        this.url1 = url1;
    }

    public String getUrl2() {
        return url2;
    }

    public void setUrl2(String url2) {
        this.url2 = url2;
    }

    public String getUrl3() {
        return url3;
    }

    public void setUrl3(String url3) {
        this.url3 = url3;
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getVurl() {
        return vurl;
    }

    public void setVurl(String vurl) {
        this.vurl = vurl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private String url1;
   private String url2;
   private String url3;
   private Integer shopid;
   private String describe;
   private String vurl;
   private String type;

}
